Ext.define("MyApp.store.${className}", {
<#if showWay == 'LIST'>
    extend: "Ext.data.Store",
    pageSize:20,
<#else>
    extend: "Ext.data.TreeStore",
</#if>
    autoLoad:true,
    model: "MyApp.model.${className}",
    proxy : {
         type: 'ajax',
         url: contextPath+'/${paramName}/get',
         reader: {
             type: 'json',
             <#--rootProperty: 'root',-->
             root: 'root',
             totalProperty:'total'
         }
    }
});
               